<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

	<title>DashboardKit Bootstrap 5 Admin Template</title>

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">



	<!-- Favicon icon -->


	<!-- font css -->
	<link rel="stylesheet" th:href="@{/css/feather.css}">
	<link rel="stylesheet" th:href="@{/css/fontawesome.css}">
	<link rel="stylesheet" th:href="@{/css/material.css}">
	<!-- vendor css -->
	<link rel="stylesheet" th:href="@{/css/style.css}" id="main-style-link">


</head>

<!-- [ auth-signin ] start -->
<div class="auth-wrapper">
	<div class="auth-content">
		<div class="card">
			<div class="row align-items-center text-center">
				<div class="col-md-12">
					<form th:action="@{/loging}" method="post">
					<div class="card-body">
						<h4 class="mb-3 f-w-400">登陆</h4>
						<div class="input-group mb-3">
							<span class="input-group-text"><i data-feather="mail"></i></span>
							<input type="text" class="form-control" placeholder="UserName" name="username">
						</div>
						<div class="input-group mb-4">
							<span class="input-group-text"><i data-feather="lock"></i></span>
							<input type="password" class="form-control" placeholder="Password" name="password">
						</div>

						<button class="btn btn-block btn-primary mb-4" type="submit">Login</button>
						<p style="color:red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
						<p style="color:red" th:text="${state}" th:if="${not #strings.isEmpty(state)}"></p>
						<p class="mb-0 text-muted">Don’t have an account? <a th:href="@{/signup}" class="f-w-400">Signup</a></p>
					</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- [ auth-signin ] end -->
</html>
